Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add visibility filter #17

Draft
wants to merge 4 commits into
base: master-ibx3
Choose a base branch
from

Conversation

RemyNovactive
Copy link
Contributor

Q A
Branch? RssFeedBundle-add-visibility-filter
Bug fix? no
New feature? yes

Add a visibility filter to be sure of fetch only visible content.

@RemyNovactive RemyNovactive self-assigned this Oct 15, 2020
@RemyNovactive RemyNovactive changed the title Add visibility filter [WIP] Add visibility filter Oct 15, 2020
README.md Outdated

Go on https://github.com/splitsh/lite/releases to chose a version
Copy link
Contributor

@anaelChardan anaelChardan Oct 15, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Go on https://github.com/splitsh/lite/releases to chose a version
Go on [splitsh](https://github.com/splitsh/lite/releases) to choose a version

@@ -226,7 +234,7 @@ public function getContentTypeList(): array
$contentTypesMap[ucfirst($contentType->getName())] = $contentType->id;
}
ksort($contentTypesMap);
if (\count($contentTypesMap)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let \

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we leave the '' here?
Why don't we put it for the ksort function right on top?
How about an import?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seb shared an article that using \ was quicker to resolve by the PHP

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is and PHP Storm EAD Inspections (that you should have) is supposed to show it too ;-)

@Plopix
Copy link
Contributor

Plopix commented Oct 19, 2020

It sounds good, still in Draft for a reason @RemyNovactive ? Thanks both of you cc @anaelChardan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants